<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>checkbox</title>
    <link rel="stylesheet" href="../../model/view.css">
</head>
<body>
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< checkbox ></a></p>
        </li>
        <li>
            <p><a href="#style">类型</a></p>
            <ul id="catalog_style">

            </ul>
        </li>
    </ul>
</div>
<div id="element">
    <h2>checkbox</h2>
    <div>简介:</div>
    <p>复选框</p>
</div>
<div id="style"></div>
<div></div>
<script src="../../js/script_min.js"></script>
<script src="../../model/view.js"></script>
<script>
    let checkbox = new view("checkbox");
    checkbox.init([
        {style:1,data:[
            {img:"img/checkbox1.png",code:`
            <check margin="40,0,40,0" ripple="#E6E6FA" id="checked">
                <p checked="false"  click="document.open('znold.login-register_protocol.xml')">注册表示同意用户注册协议</p>
            </check>
        `,title:"经典款"},

        ]}, {style:2,data:[
            {img:"img/checkbox2.png",code:` <check heigth="55" style="2" padding="10,10,0,10" margin="0,1,0,15" background="#ffffff" id="agree">
                <img attr="20" click="document.agreeClick();">img.check03.png</img>
                <p font="13" click="document.open('zn.login-register_protocol.xml')">同意&lt;font
                    color="#ff6c6c">《证念心理咨询协议》&lt;/font></p>
                <p font="13"
                   click="document.open('zn.auto-web.xml',{title:'知情同意书',url:'file:///android_asset/心理咨询知情同意书.html'})">与&lt;font
                    color="#ff6c6c">《知情同意书》&lt;/font></p>
            </check>`,title:"经典款"},

        ]},

    ]);
</script>
<div class="author"><p>by-姜进</p></div>
</body>
</html>